/*
 *  sqlite_marcos.c
 *  WebPDA
 *
 *  Created by Justin Yip on 8/5/10.
 *  Copyright 2010 TenNights.com. All rights reserved.
 *
 */
#include <sqlite3.h>

void cleanup(sqlite3 *database, sqlite3_stmt *stmt) {
	if (stmt) {
		sqlite3_finalize(stmt);
	}
	if (database) {
		sqlite3_close(database);
	}
}